import request from '@/utils/request'

// 查询门诊结帐金额分类列表 (分页)
export function selectPageOutpAcctMoney(query) {
    return request({
        url: '/business/outpAcctMoney/selectPage',
        method: 'get',
        params: query
    })
}

// 查询门诊结帐金额分类列表 (不分页)
export function listOutpAcctMoney(query) {
    return request({
        url: '/business/outpAcctMoney/list',
        method: 'get',
        params: query
    })
}

// 查询门诊结帐金额分类详细
export function getOutpAcctMoney(outpAcctMoneyId) {
    return request({
        url: '/business/outpAcctMoney/' + outpAcctMoneyId,
        method: 'get'
    })
}

// 新增门诊结帐金额分类
export function addOutpAcctMoney(data) {
    return request({
        url: '/business/outpAcctMoney',
        method: 'post',
        data: data
    })
}

// 修改门诊结帐金额分类
export function updateOutpAcctMoney(data) {
    return request({
        url: '/business/outpAcctMoney',
        method: 'put',
        data: data
    })
}

// 删除门诊结帐金额分类
export function delOutpAcctMoney(outpAcctMoneyId) {
    return request({
        url: '/business/outpAcctMoney/' + outpAcctMoneyId,
        method: 'delete'
    })
}
